package com.h3c.nem.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

/**
 * @Author: yys44482
 * @Date: 2022/7/26
 */
@Data
@TableName("tb_teacher_certification_info")
public class TbTeacherCertificationInfo {

    @ApiModelProperty(value = "工号")
    @Column(name = "worker_id")
    @TableId
    private String workerId;

    @ApiModelProperty(value = "姓名")
    @Column(name = "worker_name")
    private String workerName;

    @ApiModelProperty(value = "入职时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="Asia/Shanghai")
    @Column(name = "entry_time")
    private Date entryTime;

    @ApiModelProperty(value = "年龄")
    @Column(name = "age")
    private Integer age;

    @ApiModelProperty(value = "所属部门名称（链）")
    @Column(name = "dept_name_chain")
    private String deptNameChain;

    @ApiModelProperty(value = "所属部门编码（链）")
    @Column(name = "dept_code_chain")
    private String deptCodeChain;

    @ApiModelProperty(value = "最近四个季度绩效成绩")
    @Column(name = "last4kpi")
    private String last4kpi;

    @ApiModelProperty(value = "最近四个季度文化成绩")
    @Column(name = "last4culture")
    private String last4culture;

    @ApiModelProperty(value = "最近24个月惩处记录")
    @Column(name = "last_punish_record")
    private String lastPunishRecord;

    @ApiModelProperty(value = "导师资格检查日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="Asia/Shanghai")
    @Column(name = "check_time")
    private Date checkTime;

    @ApiModelProperty(value = "最近24个月惩处记录")
    @Column(name = "last_punish_record")
    private String remark;

}
